package com.chen.mapper;

import com.chen.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author cws
 * @since 2024-11-24
 */
public interface UserMapper extends BaseMapper<User> {


    int updateIntegration(@Param("userId") Long userId,@Param("integration") Integer integration);

    boolean updateAmout(@Param("userId") Long userId,@Param("amount") BigDecimal amount);
}
